package com.yyq.adms.hngg.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yyq.sos.pojo.BackBaseEntity;

@Entity
@Table(name="periodicalmagazinedetail")
public class MagazineDetail extends BackBaseEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
protected Long maintainDep;
	
	@Column(name="maintaindep")
	public Long getMaintainDep() {
		return maintainDep;
	}

	public void setMaintainDep(Long maintainDep) {
		this.maintainDep = maintainDep;
	}
	
	/**
	 * 论文名称
	 */
	private String theme;
	
	
	/**
	 * 作者
	 */
	private String author;


	/**
	 * 备注
	 */
	private String other;
	
	
	/**
	 * 所属的上级父ID
	 */
	private Integer belongParentID;
	
	
	/**
	 * 期刊所属年份
	 */
	private String years;
	
	/**
	 * 期刊版本
	 */
	private Integer magazineVersion;
	
	private String magazineName;

	@Column(name="magazinename")
	public String getMagazineName() {
		return magazineName;
	}

	public void setMagazineName(String magazineName) {
		this.magazineName = magazineName;
	}

	public MagazineDetail() {
		super();
	}


	public MagazineDetail(String theme, String autor, String other) {
		super();
		this.theme = theme;
		this.author = autor;
		this.other = other;
	}

	@Column(name="author")
	public String getAuthor() {
		return author;
	}


	@Column(name="other")
	public String getOther() {
		return other;
	}

	@Column(name="theme")
	public String getTheme() {
		return theme;
	}


	public void setAuthor(String autor) {
		this.author = autor;
	}


	public void setOther(String other) {
		this.other = other;
	}


	public void setTheme(String theme) {
		this.theme = theme;
	}

	@Column(name="belongparentid")
	public Integer getBelongParentID() {
		return belongParentID;
	}


	public void setBelongParentID(Integer belongParentID) {
		this.belongParentID = belongParentID;
	}


	public String getYears() {
		return years;
	}

	public void setYears(String years) {
		this.years = years;
	}

	@Transient
	public Integer getMagazineVersion() {
		return magazineVersion;
	}


	public void setMagazineVersion(Integer magazineVersion) {
		this.magazineVersion = magazineVersion;
	}
	
	
	
	
	
	

}
